@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --foreground-rgb: 0, 0, 0;
  --background-start-rgb: 214, 219, 220;
  --background-end-rgb: 255, 255, 255;
}

@media (prefers-color-scheme: dark) {
  :root {
    --foreground-rgb: 255, 255, 255;
    --background-start-rgb: 0, 0, 0;
    --background-end-rgb: 0, 0, 0;
  }
}

/*style scrollbar on the right*/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgb(var(--foreground-rgb));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(var(--foreground-rgb));
}

/*style scrollbar on the right for firefox*/
* {
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--foreground-rgb)) transparent;
  scrollbar-arrow-color: rgb(var(--foreground-rgb));
  scrollbar-track-color: transparent;
}

p {
  margin-top: 10px;
  margin-bottom:10px;
}

.responsiveTable tbody tr {
  border: 1px solid #ccc !important;
}
